package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.OcaFile;
import cn.topevery.garden.entity.query.OcaFileQuery;
import cn.topevery.garden.entity.vo.OcaFileVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 
 *
 * @author code-generate
 * @date 2022-01-05
 */
public interface OcaFileDao extends BaseDao<OcaFile> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<OcaFileVO> listPage(OcaFileQuery query);

    OcaFile getEntityByColumn(String key,String value);

    void updateByMainId(Integer mainId);

    List<OcaFile> getListByMainId(Integer id);
}
